// @Author chenyong 2023/2/24 10:59:00
package utils

import "golang.org/x/text/encoding/simplifiedchinese"

func Utf8ToGbk(word string) string {
	result, _ := simplifiedchinese.GBK.NewEncoder().Bytes([]byte(word))
	return string(result)
}
